Job: edge (rust)
Runner: g1t, Linux X64 (Debian bookworm, Node 24, Python 3, Go, Rust)
Matrix: {"group":"rust","units":"api","rust":true,"image":false}
##[group]G1T_TOKEN permissions
contents: read
metadata: read
##[endgroup]
Checking out flagon-io/g1t into /home/runner/work/repo
[command]git init --quiet
[command]git remote add origin https://g1t.sh/flagon-io/g1t.git
[command]git fetch --no-tags --prune --quiet origin refs/heads/main
[command]git checkout --quiet --force -B main 58dd85e81fd8b3dd5339ff41223c6c71e3b50095
Checked out 58dd85e81fd8b3dd5339ff41223c6c71e3b50095
##[group]Rust for Workers
rustup target add wasm32-unknown-unknown
##[endgroup]
shell: bash -e /home/runner/_temp/18ddc15ab22af172.sh
info: component rust-std for target wasm32-unknown-unknown is up to date
Cache restored from key: worker-build-Linux-20198271f2bfa646f90a27111263b0637937fdecf1b000ed47c7554968c64152 (2.6 MB in 0.5s)
Cache restored from key: worker-build-tools-Linux-20198271f2bfa646f90a27111263b0637937fdecf1b000ed47c7554968c64152 (115.2 MB in 3.2s)
Cache restored from key: cargo-crates-Linux-f9437572d523fab422c6790fa14184299f4dcdbe7430863b1699525f9c8c3272 (65.0 MB in 1.2s)
Cache restored from key: cargo-target-Linux-rust-e739dd1792513caa6aaec120c2743c9d9a899a4c24b1adbc17a7a3acd72f2d2c (221.1 MB in 4.5s)
##[group]sccache
bash scripts/sccache.sh install
##[endgroup]
shell: bash -e /home/runner/_temp/18dec15d6f5a684f.sh
sccache: Starting the server...
sccache: Listening on address 127.0.0.1:4226
sccache 0.18.0: rustc goes through it from here on, cached in this repository's Actions cache.
##[group]Install
node scripts/deploy.mjs install --only "api"
##[endgroup]
shell: bash -e /home/runner/_temp/18dfc15e48ff5fad.sh
npm ci --no-audit --no-fund --workspaces=false

added 37 packages in 4s
npm warn install-scripts 2 packages have install scripts not yet covered by allowScripts:
npm warn install-scripts   esbuild@0.28.1 (postinstall: node install.js)
npm warn install-scripts   workerd@1.20261001.1 (postinstall: node install.js)
npm warn install-scripts
npm warn install-scripts Run `npm install-scripts ls` to review, or `npm install-scripts approve <pkg>` to allow.
##[group]Deploy api
node scripts/deploy.mjs deploy --only "api" --force --no-migrations --concurrency 2
##[endgroup]
shell: bash -e /home/runner/_temp/18d8c15f8018f948.sh
Deploying 58dd85e81fd8 (Merge invite emails that confirm the address: the emailed link carries a proof only that email has, so signing up from it needs no code; shared links and typed codes still confirm)

unit  stage  action  live          migrations  why
----  -----  ------  ------------  ----------  ----------------------------------------------------------------------
api   edge   deploy  fe7d2329374f              1 changed file (crates/contracts/src/identity.rs via crates/contracts)

1 to deploy: edge (api)
== edge: api
[api]  ⛅️ wrangler 4.146.0
[api] ────────────────────
[api] [custom build] Running: node ../../scripts/build-rust-worker.mjs
[api] [custom build] [INFO]: Checking for the Wasm target...
[api] [custom build] 
[api] [custom build] [INFO]: Compiling to Wasm...
[api] [custom build] 
[api] [custom build]    Compiling g1t-contracts v0.1.0 (/home/runner/work/repo/crates/contracts)
[api] [custom build] 
[api] [custom build]    Compiling g1t-kit v0.1.0 (/home/runner/work/repo/crates/kit)
[api] [custom build] 
[api] [custom build]    Compiling g1t-api v0.1.0 (/home/runner/work/repo/apps/api)
[api] [custom build] 
[api] [custom build]     Finished `release` profile [optimized] target(s) in 25.50s
[api] [custom build] 
[api] [custom build] [INFO]: Optimizing wasm binaries with `wasm-opt`...
[api] [custom build] 
[api] [custom build] [INFO]: :-)Done in 29.10s
[api] [custom build] [INFO]: :-) Your wasm pkg is ready to publish at /home/runner/work/repo/apps/api/build/.tmp.
[api] [custom build] 
[api] [custom build] 
[api] [custom build]   index.js  29.3kb
[api] [custom build] 
[api] [custom build] ⚡ Done in 7ms
[api] [custom build] 
[api] Total Upload: 6030.08 KiB / gzip: 1299.35 KiB
[api] Worker Startup Time: 5 ms
[api] Your Worker has access to the following bindings:
[api] Binding                                                         Resource          
[api] env.BLOBS (16a4232cb746418db53782aa068be693)                    KV Namespace      
[api] env.ACTIONS_CACHE (g1t-actions-cache)                           R2 Bucket         
[api] env.IDENTITY (g1t-identity)                                     Worker            
[api] env.REPOS (g1t-repos)                                           Worker            
[api] env.WORK (g1t-work)                                             Worker            
[api] env.EVENTS (g1t-events)                                         Worker            
[api] env.RUNNER (g1t-runner)                                         Worker            
[api] env.BILLING (g1t-billing)                                       Worker            
[api] env.INTEGRATIONS (g1t-integrations)                             Worker            
[api] env.WEBHOOKS (g1t-webhooks)                                     Worker            
[api] env.ACTIONS (g1t-actions)                                       Worker            
[api] env.DEPLOYMENTS (g1t-deployments)                               Worker            
[api] env.CONTEXT (g1t-context)                                       Worker            
[api] env.SEARCH (g1t-search)                                         Worker            
[api] env.SECURITY (g1t-security)                                     Worker            
[api] env.PROJECTS (g1t-projects)                                     Worker            
[api] env.PACKAGES (g1t-packages)                                     Worker            
[api] env.API_ANONYMOUS_LIMIT (60 requests/60s)                       Rate Limit        
[api] env.API_TOKEN_LIMIT (1000 requests/60s)                         Rate Limit        
[api] Uploaded g1t-api (3.39 sec)
[api] Deployed g1t-api triggers (0.97 sec)
[api]   api.g1t.sh (custom domain)
[api]   mcp.g1t.sh (custom domain)
[api] Current Version ID: e83dbdd9-0743-4efb-b5be-f99baf7d0a41

unit  stage  result  version                               time   note
----  -----  ------  ------------------------------------  -----  ----
api   edge   ok      e83dbdd9-0743-4efb-b5be-f99baf7d0a41  46.1s

Deployed in 46.8s.
##[group]sccache's hits and misses
bash scripts/sccache.sh stats
##[endgroup]
shell: bash -e /home/runner/_temp/18d9c16a86509e93.sh
Compile requests                       7
Compile requests executed              2
Cache hits                             2
Cache hits (Rust)                      2
Cache misses                           0
Cache hits rate                   100.00 %
Cache hits rate (Rust)            100.00 %
Cache timeouts                         0
Cache read errors                      0
Forced recaches                        0
Cache write errors                     0
Cache errors                           0
Compilations                           0
Compilation failures                   0
Non-cacheable compilations             0
Non-cacheable calls                    5
Non-compilation calls                  0
Unsupported compiler calls             0
Average cache write                0.000 s
Average compiler                   0.000 s
Average cache read hit             0.780 s
Failed distributed compilations        0

Non-cacheable reasons:
-                                      2
missing input                          2
crate-type                             1

Cache location                  ghac, name: sccache-v0.18.0, prefix: /sccache/
Base directories                (none)
Version (client)                0.18.0
